package com.bridgeintelligent.tag.engine.api.rsp;

import com.bridgeintelligent.tag.engine.api.DimInfo;
import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * Created by JackCheung on 2019/10/15 8:50 PM.
 */
@Data
public class DataSetRsp {

    //返回码
    private int code;
    //返回数据
    private DataRsp data;

    @Data
    public static class DataRsp {

        //信息
        private String msg;
        //内容
        private List<Map<String, String>> content;
        //标签名字和id的映射
        private Map<String, DimInfo> dims;
        //总页数
        private Integer totalPages;
        //总元素
        private Long totalElements;
        //每页大小
        private Integer size;

        private String date;
    }
}
